package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.Clazz;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ClazzMapper extends BaseMapper<Clazz> {
/*    //3.1 班级列表查询
    List<Clazz> getByPage();

    //3.2 删除班级
    void deleteById(Integer id);

    //3.3 添加班级
    void insertMapperClazz(Clazz clazz);

    //3.4根据id查询
    @Options(useGeneratedKeys = true,keyProperty = "id")
    Clazz getById(Integer id);

    //3.5修改班级
    void updateById(Clazz clazz);

    //3.6查询所有班级
    List<Clazz> selectMapperAllClazz();*/
}












